package com.patrick.open.api.core.event;

import org.springframework.cloud.bus.event.RemoteApplicationEvent;

/**
 * @author patrick
 * @date 2020/6/1 11:10 下午
 * @Des 自定义刷新事件
 * 最簡單的事是堅持，最難的事還是堅持
 */
public class RemoteRefreshGatewayEvent extends RemoteApplicationEvent {
  private RemoteRefreshGatewayEvent() {
  }

  /**
   * @param source             事件的来源
   * @param originService      随机生成的全局id
   * @param destinationService 事件的目的服务
   */
  public RemoteRefreshGatewayEvent(Object source, String originService,
                                   String destinationService) {
    super(source, originService, destinationService);
  }

}
